﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;

namespace Persistencia.Tabelas
{
    [Table(Name = "APagar")]
    public class ContasAPagar : Context
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true)]
        public string Codigo { get; set; }

        [Column]
        public DateTime DataCompra { get; set; }

        [Column]
        public DateTime DataPagamento { get; set; }

        [Column]
        public decimal TotalPagamento { get; set; }

        [Column]
        public decimal ValorRestante { get; set; }

        [Column]
        public int CodigoPessoa { get; set; }
        
        [Column]
        public string Descricao { get; set; }
        [Column]
        public string CodClasse { get; set; }
    }
}
